package com.ruoyi.miaomiao.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 宣传图对象 f_advertisment_picture
 * 
 * @author ruoyi
 * @date 2022-08-10
 */
@ApiModel(value = "宣传图对象", description = "宣传图对象的属性描述")
public class AdvertismentPicture extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 宣传图id */
    @ApiModelProperty(value = "宣传图id", name = "advertismentPictureId", example = "500001")
    private Long advertismentPictureId;

    /** 宣传图 */
    @ApiModelProperty(value = "宣传图", name = "advertismentPictureCover", example = "http://192.168.2.78:8080/image/adverts/advertspic500001.jpg")
    @Excel(name = "宣传图")
    private String advertismentPictureCover;

    /** 宣传图状态（1-上架，0-下架） */
    @ApiModelProperty(value = "宣传图状态", name = "advertismentPictureStatus", example = "1=-上架，0-下架")
    @Excel(name = "宣传图状态", readConverterExp = "1=-上架，0-下架")
    private String advertismentPictureStatus;

    /** 创建者 */
    @ApiModelProperty(value = "创建者", name = "creator", example = "admin")
    @Excel(name = "创建者")
    private String creator;

    /** 更新者 */
    @ApiModelProperty(value = "更新者", name = "updater", example = "admin")
    @Excel(name = "更新者")
    private String updater;

    /** 宣传图描述 */
    @ApiModelProperty(value = "宣传图描述", name = "advertismentPictureDescription", example = "宣传图1")
    @Excel(name = "宣传图描述")
    private String advertismentPictureDescription;

    public void setAdvertismentPictureId(Long advertismentPictureId) 
    {
        this.advertismentPictureId = advertismentPictureId;
    }

    public Long getAdvertismentPictureId() 
    {
        return advertismentPictureId;
    }
    public void setAdvertismentPictureCover(String advertismentPictureCover) 
    {
        this.advertismentPictureCover = advertismentPictureCover;
    }

    public String getAdvertismentPictureCover() 
    {
        return advertismentPictureCover;
    }
    public void setAdvertismentPictureStatus(String advertismentPictureStatus) 
    {
        this.advertismentPictureStatus = advertismentPictureStatus;
    }

    public String getAdvertismentPictureStatus() 
    {
        return advertismentPictureStatus;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setAdvertismentPictureDescription(String advertismentPictureDescription) 
    {
        this.advertismentPictureDescription = advertismentPictureDescription;
    }

    public String getAdvertismentPictureDescription() 
    {
        return advertismentPictureDescription;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("advertismentPictureId", getAdvertismentPictureId())
            .append("advertismentPictureCover", getAdvertismentPictureCover())
            .append("advertismentPictureStatus", getAdvertismentPictureStatus())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("updateTime", getUpdateTime())
            .append("updater", getUpdater())
            .append("advertismentPictureDescription", getAdvertismentPictureDescription())
            .toString();
    }
}
